"""
玩家升级
"""

import g


def getApiData():
    """
    统一定义参数类型！！不定义会报错
    """
    return [
    ]


async def proc(uid, gateway_url, data, *args, **kwargs):
    _res = {
        "s": 1
    }

    await g.Model.UserInfo.getGud(uid)
    await g.Model.UserInfo.updateInfo(uid, {"lv": 11})
    await g.Model.UserInfo.updateInfo(uid, {"lv": 12})
    await g.Model.UserInfo.updateInfo(uid, {"lv": 13})
    await g.Model.UserInfo.getGud(uid)

    return _res


if __name__ == '__main__':
    proc(1, 2, 3)
